package com.dai.linkedlist;

public class TestLinkedLink {

    public static void main(String[] arg) {
        LinkedList linkedList = new LinkedList();
        linkedList.addNode("fdsa");
        linkedList.addNode("12");
        linkedList.addNode(14);
        linkedList.addNode("a");
        linkedList.addNode(25);
        linkedList.printLinkedList();

        linkedList.insert(3,"ddd");

//        linkedList.printLinkedList();

        linkedList.reverse1();

        linkedList.reverse2();

    }
}
